package com.neolix.watch.util;

import com.neolix.watch.bluetooth.BluetoothLeService;

import java.nio.charset.Charset;

public class Constant {
    public final static int ONE_SECOND = 1000;
    public static final int PAGE_COUNT = 3;
    public static final int UPDATE_WEATHER_INTERVAL_MILLIS = 1000 * 60 * 60;
    public static final String WATCH_RUNTIME_DB_NAME = "neolix_watch";
    public static final String WATCH_BASE_DB_NAME = "watchbase";
    public static final String CURRENT_LOCATION = "current_location";
    public static final String BAI_DU_WEATHER_AK = "7103da7b646deb0fe25a0b66c63d1857";
    public static final String COM_NEOLIX_WATCH_LOCATION_CHANGE = "com.neolix.watch.location.change";
    public final static String BLUETOOTH_TAG = BluetoothLeService.class.getSimpleName();
    public static final String DEVICE_NAME = "device_name";
    public static final int REQUEST_ENABLE_BT = 1;
    public static final int REQUEST_CONNECT_DEVICE = 2;
    public static final int REQUEST_SCAN_BLUETOOTH = 3;
    public static final String REMIND_TIME = "REMIND_TIME";
    public static final String REMIND_CONTENT = "REMIND_CONTENT";
    public static final String REMIND_EVENT_VIEW_MODEL = "REMIND_EVENT_VIEW_MODEL";
    public static final int MAX_REMIND_EVENT = 10;
    public static final String EVENT_ID = "event_id";
    public static String SETTINGS = "settings";
    public static String FIRST_START_APP = "firstStartApp";
    public static String SERVER_ADDRESS;
    public static final Charset UTF_8 = Charset.forName("UTF8");
    public static final Charset DEFAULT_CHARSET = UTF_8;
    public static final Charset GBK_CHARSET = Charset.forName("gbk");
    public static final String HEADER_CONTENT_TYPE = "Content-Type";
    public static final String VALUE_APPLICATION_JSON = "application/json";
    public static final int TIME_OUT = 8 * 1000;


    public static class WatchAction {
        public static final String ACTION_WATCH_READ_SYNC_DATE_TIME = "action_watch_read_sync_date_time";
        public static final String ACTION_WATCH_WRITE_SYNC_DATE_TIME = "action_watch_write_sync_date_time";
        public static final String ACTION_WATCH_READ_GET_STEPS = "action_watch_read_get_steps";
        public static final String ACTION_WATCH_WRITE_STEPS = "action_watch_write_get_steps";
        public static final String ACTION_WATCH_READ_SYNC_REMIND_EVENT = "action_watch_read_sync_remind_event";
        public static final String ACTION_WATCH_WRITE_SYNC_REMIND_EVENT = "action_watch_write_sync_remind_event";
        public static final String ACTION_WATCH_READ_SYNC_WEATHER = "action_watch_read_sync_weather";
        public static final String ACTION_WATCH_WRITE_SYNC_WEATHER = "action_watch_write_sync_weather";
        public static final String ACTION_WATCH_READ_WATCH_STYLE = "action_watch_read_watch_style";
        public static final String ACTION_WATCH_WRITE_WATCH_STYLE = "action_watch_write_watch_style";
        public static final String ACTION_WATCH_READ_ACTIVE = "action_watch_read_active";
        public static final String ACTION_WATCH_WRITE_ACTIVE = "action_watch_write_active";
        public static final String ACTION_WATCH_READ_ACTIVATED = "action_watch_read_activated";
        public static final String ACTION_WATCH_WRITE_ACTIVATED = "action_watch_write_activated";
        public static final String ACTION_WATCH_READ_BLUETOOTH_NAME = "action_watch_read_bluetooth_name";
        public static final String ACTION_WATCH_WRITE_BLUETOOTH_NAME = "action_watch_write_bluetooth_name";
        public static String ACTION_WATCH_READ_SYNC_Notification = "action_watch_read_sync_notification";
        public static String ACTION_WATCH_WRITE_SYNC_Notification = "action_watch_write_sync_notification";
    }
}
